package com.eatme.core.design.pattern.creational.builder;

public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);
        Course course = coach.makerCourse("Java设计模式精讲",
                                            "Java设计模式精讲PPT",
                                          "Java设计模式精讲视频",
                                          "Java设计模式精讲手记",
                                            "Java设计模式精讲问答");
        System.out.println(course);
    }
}
